/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.atm.service;

import java.util.List;
import javax.ejb.Local;
import org.atm.domain.ATMTransaction;
/**
 *
 * @author Abderahman
 */
@Local
public interface ATMTransactionService {

    public void create(ATMTransaction transaction);

    public List<ATMTransaction> getAllDepositeNew();

    public List<ATMTransaction> getAllTransactions(Integer AccountNumber);

    public void approveTransaction(ATMTransaction transaction);

    public void rejectTransaction(ATMTransaction transaction);

    public void persist(ATMTransaction transaction);

}